
<template>
    <Button type="text"   v-permission="'btnModify'"  size="small"  icon="edit" @click="clickHandler"  :disabled="status === '已复核' || userName != creator"></Button>
</template>

<script>
  export default {
    accessLabel: '修改',
    accessKey: 'btnModify',
    props:{
      status:String,
      userName: String,
      creator: String,
      require:true
    },
    methods: {
      clickHandler () {
        this.$emit('modifyClick');
      }
    },
    mounted () {
    }
  };
</script>
